<?php
$a = 1; $b = 0;
echo ($a AND $b) . "<br />";
echo ($a or $b)  . "<br />";
echo ($a XOR $b) . "<br />";
echo !$a         . "<br />";
?>
